<div id="comments">
    <h3 id="comments-title" class="comments-header"><i class="fa fa-comments"></i><?php if ($article->CommNums==0) { ?>
暂无留言,赶快评论吧
<?php }elseif($article->CommNums==1) {  ?>
仅有1条留言
<?php }else{  ?>
已有<?php  echo $article->CommNums;  ?>条留言
<?php } ?></h3>
        <div id="loading-comments"><i class="fa fa-spinner fa-spin"></i></div>
        <?php if ($socialcomment) { ?>
<?php  echo $socialcomment;  ?>
<?php }else{  ?>
<label id="AjaxCommentBegin"></label>
<!--评论输出-->
<?php  foreach ( $comments as $key => $comment) { ?>
<?php  include $this->GetTemplate('comment');  ?>
<?php }   ?>
<label id="AjaxCommentEnd"></label>

<!--评论框-->
<?php  include $this->GetTemplate('commentpost');  ?><?php } ?>
                  </div>